package com.example.klaraservice.service.impl;

import com.example.klaraservice.dao.OrderItemMapper;
import com.example.klaraservice.pojo.OrderItem;
import com.example.klaraservice.service.OrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author : Glacialerisa
 * @date : 2023/6/13 23:12
 * @desc :
 */
@Service
public class OrderItemServiceImpl implements OrderItemService {
    @Autowired
    private OrderItemMapper orderItemMapper;
    @Override
    public boolean addOrderItem(OrderItem orderItem, int ordersId) {
        return orderItemMapper.addOrderItem(orderItem, ordersId);
    }
}
